using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Microsoft.DirectX.DirectInput;

namespace TowerDefense_Dx
{
    public class DxMouse
    {
        protected Device _mice = null;
        protected byte[] _buttonPressed;
        protected Control _parent;

        public DxMouse(Control target)
        {
            _parent = target;
            _mice = new Device(SystemGuid.Mouse);
            _mice.SetDataFormat(DeviceDataFormat.Mouse);
            _mice.SetCooperativeLevel(_parent, CooperativeLevelFlags.Foreground
            | CooperativeLevelFlags.NonExclusive | CooperativeLevelFlags.NoWindowsKey);
            while (true)
            {

            }
        }
    }
}
